import Vue from 'vue'
import App from './App.vue'
import router from './router/router'
import store from './store/store'
import './registerServiceWorker'
import 'babel-polyfill';

// @ts-ignore
import YDUI from 'vue-ydui'
import 'vue-ydui/dist/ydui.rem.css';
import 'vue-ydui/dist/ydui.base.css';
/* 使用px：import 'vue-ydui/dist/ydui.px.css'; */

import Http, {RequestPath} from './common/Request';
import { Common } from './common/Common';
import size from './size'
import {$contactUs} from "@/ContactUs";

Vue.use(YDUI);
size();

Vue.config.productionTip = false;
Vue.prototype.$request = new Http();
Vue.prototype.$requestPath = new RequestPath();
Vue.prototype.$common = new Common();

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');

$contactUs({
  name: '区区电脑',
  email: '1573580882@qq.com',
  github: 'https://github.com/GYFlash/'
});
